#region Using

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;

using Gizmox.WebGUI.Common;
using Gizmox.WebGUI.Forms;
using PLACEHR.Web.Utilities;

#endregion

namespace PLACEHR.Web.Controls
{
    public partial class QueryControl : UserControl
    {
        public QueryControl()
        {
            InitializeComponent();

        }

        public event EventHandler FilterQueryClick;

        private void btnQuery_Click(object sender, EventArgs e)
        {
            if (FilterQueryClick != null)
            {
                FilterQueryClick(this, new EventArgs());
            }
        }

        public event EventHandler FilterResetClick;
        private void btnReset_Click(object sender, EventArgs e)
        {
            if (FilterResetClick != null)
            {
                FilterResetClick(this, new EventArgs());
            }
        }

        private void QueryControl_Load(object sender, EventArgs e)
        {
            btnQuery.Text = LanLayer.GetTrans(205);
            btnReset.Text = LanLayer.GetTrans(206);
        }
    }
}